﻿<Window x:Class="ArchiveLink.GUI.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="ArchiveLink" Height="350" Width="525">
    <Grid>
        <StackPanel>
            <GroupBox Header="Status">
                <TextBlock Name="StatusMessage">ArchiveLink Service is not available</TextBlock>
            </GroupBox>
            <GroupBox Name="ConfigPanel" Header="Config">
                <StackPanel>
                    <TextBlock>MirrorPath</TextBlock>
                    <TextBox Text="{Binding MirrorPath}"/>
                    <CheckBox IsChecked="{Binding ConsiderOpticalDisks}" Content="ConsiderOpticalDisks"/>
                    <CheckBox IsChecked="{Binding AskOnNewDrives}" Content="AskOnNewDrives"/>
                    <CheckBox IsChecked="{Binding AutoSyncOnConnect}" Content="AutoSyncOnConnect"/>
                    <CheckBox IsChecked="{Binding ShowNotifications}" Content="ShowNotifications"/>
                    <CheckBox IsChecked="{Binding ShowProgress}" Content="ShowProgress"/>      
                    <Button Click="Button_Click_1">Update</Button>
                </StackPanel>
            </GroupBox>
            <GroupBox Header="Add">
            <StackPanel Orientation="Horizontal">
                <ComboBox Name="comboBox1">
                    <ComboBox.ItemTemplate>
                        <DataTemplate>
                            <StackPanel Orientation="Horizontal">
                                <TextBlock Text="{Binding Name}"/>
                                <TextBlock Text=" ("/>
                                <TextBlock Text="{Binding VolumeLabel}"/>
                                <TextBlock Text=")"/>
                            </StackPanel>
                        </DataTemplate>
                    </ComboBox.ItemTemplate>
                </ComboBox>
                <Button Click="Button_Click_2">Refresh</Button>
                    <Button Click="Button_Click" Content="Add Drive"></Button>
                </StackPanel>
            
            </GroupBox>
        </StackPanel>
        
    </Grid>
</Window>
